import Summary from './summary.vue'
import SummaryAdd from './summaryAdd.vue'
import SummaryEdit from './summaryEdit.vue'
import SummarySearch from './summarySearch.vue'
import SummaryView from './summaryView.vue'

const components = [
  Summary,
  SummaryAdd,
  SummaryEdit,
  SummarySearch,
  SummaryView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
